package com.zhang.springcloud.fallback;

import com.zhang.springcloud.entities.CommonResult;

public class Fallback {
    public static CommonResult fallbackMehod(Integer id, Throwable throwable){
        return new CommonResult<>(444,"参数错误"+throwable.getMessage(),null);
    }

}
